
def multiply(a, b):
    return a * b

def double(a): # double function is a partial function
    return multiply(a, 2)

result = double(10)
print(result)

from functools import partial

triple = partial(multiply, b=3) # returns a partial object, which is a callable

print(triple(10))
